package com.binarysoft.service.id;

import java.util.Collection;
/**
 * @author david
 * 
 */
public interface IDDAO {

	String DSB_SERVER_POOL_NAME = "core.server.dsb";

	/**
	 * Generate a mount of IDs from DB.
	 * 
	 * @param numberOfIDs
	 * @return a mount of IDs
	 * @throws Exception
	 */
	Collection<Long> nextIDs(int numberOfIDs) throws Exception;
}
